package com.css.dzj.dzjap.modules.lawenforcesuper.service;

import com.css.dzj.dzjap.common.util.R;
import com.css.dzj.dzjap.modules.info.entity.ApExpertEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.ApSupersiveExpertInfoEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.DrawExpertRelationErpertEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 专家抽取service
 * @author limanman
 */
public interface SupersiveExpertService {

    /*R saveSupersiveExpert(ApSupersiveExpertInfoEntity apSupersiveExpertInfoEntity);*/

    List<ApSupersiveExpertInfoEntity> querySupersiveExpertOnly(String taskId, String recordId);

    QueryResults<DrawExpertRelationErpertEntity> queryExpertRelationInfo(Pageable pageable,String recordId,String taskId);

    QueryResults<ApExpertEntity> queryExpertById(Pageable pageable,String recordId,String taskId);

    R saveSupersiveExpert(List<ApSupersiveExpertInfoEntity> list, HttpServletRequest reques);

}
